<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport"
	content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>layui在线调试</title>
<link rel="stylesheet"
	href="../static/layui/css/layui.css?t=1574611511008" media="all">
<link rel="stylesheet" href="../static/css/util.css" media="all">
<link rel="stylesheet"
	href="../ChangshaFund/src/main/webapp/static/css/common.css"
	media="all">
<script src="../static/layui/layui.js?t=1574611511008"></script>
<script type="text/javascript" src="../static/js/jquery-1.12.4.min.js"></script>
<script type="text/javascript"
	src="../static/js/sys/Security/Security.js"></script>
<style>
body {
	margin: 10px;
}

.demo-carousel {
	height: 200px;
	line-height: 200px;
	text-align: center;
}
</style>
</head>
<body>
	<script type="text/html" id="barDemo">
  <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>
  <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>

	<div id="search-header">
		<form id="SecurityForm" lay-filter="SecurityForm" class="layui-form">
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">证券代码</label>
					<div class="layui-input-inline">
						<input type="text" name="securityNo" placeholder="请输入"
							autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">证券名</label>
					<div class="layui-input-inline">
						<input type="text" name="securityName" placeholder="请输入"
							autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">交易所</label>
					<div class="layui-input-inline">
						<input type="text" name="exchange" placeholder="请输入"
							autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">证券品种</label>
					<div class="layui-input-inline">
						<input type="text" name="var" placeholder="请输入" autocomplete="off"
							class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">S发行日期</label>
					<div class="layui-input-inline">
						<input type="text" class="layui-input" id="startIssueDate" name = "startIssueDate"
							placeholder="yyyy-MM-dd">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">E发行日期</label>
					<div class="layui-input-inline">
						<input type="text" class="layui-input" id="endIssueDate" name = "endIssueDate"
							placeholder="yyyy-MM-dd">
					</div>
				</div>

				<div class="layui-inline">
					<label class="layui-form-label">延期日期</label>
					<div class="layui-input-inline">
						<input type="text" name="delayDate" placeholder="请输入"
							autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">股票模板名</label>
					<div class="layui-input-inline">
						<input type="text" name="stockPlateName" placeholder="请输入"
							autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">描述</label>
					<div class="layui-input-inline">
						<input type="text" name="description" placeholder="请输入"
							autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label"></label>
					<div class="layui-input-inline">
						<button class="layui-btn" lay-submit=""
							lay-filter="securitySearchBtn">
							<i class="layui-icon layui-icon-search"></i> 查询
						</button>
						<button class="layui-btn" type="reset">
							<i class="layui-icon layui-icon-refresh"></i> 重置
						</button>
					</div>
				</div>
			</div>
		</form>
	</div>
	<table class="layui-hide" id="SecurityTable" lay-filter="SecurityTable"></table>


	<div id="addSecurityModal" class="definedModal">
		<!-- 这里手动加表单样式 -->
		<form id="addSecurityForm" lay-filter="addSecurityForm"
			class="layui-form">
			<div class="layui-form-item">
				<label class="layui-form-label">证券代码</label>
				<div class="layui-input-block">
					<input type="text" name="securityNo" lay-verify="required"
						placeholder="请输入" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">证券名</label>
				<div class="layui-input-block">
					<input type="text" name="securityName" lay-verify="required"
						placeholder="请输入" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">交易所</label>
				<div class="layui-input-block">
					<input type="text" name="exchange" lay-verify="required"
						placeholder="请输入" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">证券品种</label>
				<div class="layui-input-block">
					<input type="text" name="var" lay-verify="required"
						placeholder="请输入" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">延迟日期</label>
				<div class="layui-input-block">
					<input type="text" name="delayDate" lay-verify="required"
						placeholder="请输入 " autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">股票Id</label>
				<div class="layui-input-block">
					<input type="text" name="stockPlateId" lay-verify="required"
						placeholder="请输入" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">股票名</label>
				<div class="layui-input-block">
					<input type="text" name="stockPlateName" lay-verify="required"
						placeholder="请输入" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">描述</label>
				<div class="layui-input-block">
					<input type="text" name="description" lay-verify="required"
						placeholder="请输入" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-input-block">
					<button type="button" class="layui-btn" id="addSecurity"
						lay-submit="addSecurityBtn" lay-filter="addSecurityBtn">立即提交</button>
					<button type="button" class="layui-btn modalClose">关闭</button>
				</div>
			</div>
		</form>
	</div>
	<!-- 修改模态框 -->
	<div id="updateSecurityModal" class="definedModal">
		<!-- 这里手动加表单样式 -->
		<form id="updateSecurityForm" lay-filter="updateSecurityForm"
			class="layui-form">
			<input type="hidden" name="_method" value="PUT"> <input
				type="hidden" name="securityId">
			<div class="layui-form-item">
				<label class="layui-form-label">证券名</label>
				<div class="layui-input-block">
					<input type="text" name="securityName" lay-verify="required"
						placeholder="请输入" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">交易所</label>
				<div class="layui-input-block">
					<input type="text" name="exchange" lay-verify="required"
						placeholder="请输入" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">证券品种</label>
				<div class="layui-input-block">
					<input type="text" name="var" lay-verify="required"
						placeholder="请输入" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">延迟日期</label>
				<div class="layui-input-block">
					<input type="text" name="delayDate" lay-verify="required"
						placeholder="请输入 " autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">股票Id</label>
				<div class="layui-input-block">
					<input type="text" name="stockPlateId" lay-verify="required"
						placeholder="请输入" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">股票名</label>
				<div class="layui-input-block">
					<input type="text" name="stockPlateName" lay-verify="required"
						placeholder="请输入" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">描述</label>
				<div class="layui-input-block">
					<input type="text" name="description" lay-verify="required"
						placeholder="请输入" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-input-block">
					<button id="updateSecurityBtn" type="button" class="layui-btn"
						lay-submit="" lay-filter="updateSecurityBtn">立即提交</button>
					<button type="button" class="layui-btn modalClose">关闭</button>
				</div>
			</div>
		</form>
	</div>
</body>
</html>
